.class public final Ldgb/f4;
.super Ljava/lang/Object;
.source "SourceFile"


# static fields
.field private static a:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private static b:[Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 3

    const/4 v0, 0x6

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    const-string v2, "pkg"

    aput-object v2, v0, v1

    const/4 v1, 0x1

    const-string v2, "lc"

    aput-object v2, v0, v1

    const/4 v1, 0x2

    const-string v2, "model"

    aput-object v2, v0, v1

    const/4 v1, 0x3

    const-string v2, "tk"

    aput-object v2, v0, v1

    const/4 v1, 0x4

    const-string v2, "v"

    aput-object v2, v0, v1

    const/4 v1, 0x5

    const-string v2, "vn"

    aput-object v2, v0, v1

    .line 1
    sput-object v0, Ldgb/f4;->b:[Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a(Landroid/content/Context;Ljava/util/List;)Ljava/lang/String;
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)",
            "Ljava/lang/String;"
        }
    .end annotation

    .line 1
    invoke-static {p0, p1}, Ldgb/f4;->b(Landroid/content/Context;Ljava/util/List;)Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method private static a(Ljava/util/List;)Ljava/util/List;
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 24
    sget-object v0, Ldgb/f4;->b:[Ljava/lang/String;

    array-length v1, v0

    const/4 v2, 0x0

    :goto_0
    if-ge v2, v1, :cond_2

    aget-object v3, v0, v2

    .line 25
    invoke-interface {p0, v3}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 26
    sget-boolean v4, Ldgb/k4;->c:Z

    if-eqz v4, :cond_0

    const-string v4, "base.StatService"

    const-string v5, "Your excepts is illeage because you want remove the neededParams of UrlSuffix!"

    .line 27
    invoke-static {v4, v5}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 28
    :cond_0
    invoke-interface {p0, v3}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    :cond_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_2
    return-object p0
.end method

.method private static a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 29
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 30
    invoke-interface {p2, p0, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    return-object p2
.end method

.method private static a(Landroid/content/Context;)V
    .locals 3

    .line 4
    sget-object v0, Ldgb/f4;->a:Ljava/util/Map;

    if-nez v0, :cond_0

    .line 5
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    sput-object v0, Ldgb/f4;->a:Ljava/util/Map;

    .line 6
    invoke-static {p0}, Ldgb/j4;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Ldgb/f4;->a:Ljava/util/Map;

    const-string v2, "pkg"

    invoke-static {v2, v0, v1}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 7
    invoke-static {p0}, Ldgb/j4;->g(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Ldgb/f4;->a:Ljava/util/Map;

    const-string v2, "h"

    invoke-static {v2, v0, v1}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 8
    invoke-static {p0}, Ldgb/j4;->h(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Ldgb/f4;->a:Ljava/util/Map;

    const-string v2, "w"

    invoke-static {v2, v0, v1}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 9
    invoke-static {p0}, Ldgb/j4;->j(Landroid/content/Context;)I

    move-result v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Ldgb/f4;->a:Ljava/util/Map;

    const-string v2, "v"

    .line 10
    invoke-static {v2, v0, v1}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 11
    invoke-static {p0}, Ldgb/j4;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Ldgb/f4;->a:Ljava/util/Map;

    const-string v2, "vn"

    invoke-static {v2, v0, v1}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 12
    invoke-static {p0}, Ldgb/j4;->l(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Ldgb/f4;->a:Ljava/util/Map;

    const-string v2, "model"

    invoke-static {v2, v0, v1}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 13
    invoke-static {p0}, Ldgb/j4;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Ldgb/f4;->a:Ljava/util/Map;

    const-string v2, "vendor"

    invoke-static {v2, v0, v1}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 14
    invoke-static {p0}, Ldgb/j4;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Ldgb/f4;->a:Ljava/util/Map;

    const-string v2, "sdk"

    invoke-static {v2, v0, v1}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 15
    invoke-static {p0}, Ldgb/j4;->q(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Ldgb/f4;->a:Ljava/util/Map;

    const-string v2, "dpi"

    invoke-static {v2, v0, v1}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 16
    invoke-static {p0}, Ldgb/i4;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Ldgb/f4;->a:Ljava/util/Map;

    const-string v2, "tk"

    invoke-static {v2, v0, v1}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 17
    invoke-static {p0}, Ldgb/j4;->r(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Ldgb/f4;->a:Ljava/util/Map;

    const-string v2, "locale"

    invoke-static {v2, v0, v1}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 18
    invoke-static {p0}, Ldgb/j4;->t(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sget-object v1, Ldgb/f4;->a:Ljava/util/Map;

    const-string v2, "signmd5"

    invoke-static {v2, v0, v1}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 19
    :cond_0
    invoke-static {p0}, Ldgb/j4;->n(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    .line 20
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    sget-object v0, Ldgb/f4;->a:Ljava/util/Map;

    const-string v1, "op"

    invoke-interface {v0, v1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 21
    invoke-static {p0}, Ldgb/j4;->o(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sget-object v2, Ldgb/f4;->a:Ljava/util/Map;

    invoke-static {v1, v0, v2}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 22
    :cond_1
    sget-object v0, Ldgb/f4;->a:Ljava/util/Map;

    const-string v1, "lc"

    invoke-interface {v0, v1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2

    .line 23
    invoke-static {p0}, Ldgb/h4;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object p0

    sget-object v0, Ldgb/f4;->a:Ljava/util/Map;

    invoke-static {v1, p0, v0}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    :cond_2
    return-void
.end method

.method private static a(Ljava/lang/String;Ljava/lang/String;Ljava/util/HashMap;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 2
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 3
    invoke-virtual {p2, p0, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    return-void
.end method

.method private static b(Landroid/content/Context;Ljava/util/List;)Ljava/lang/String;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)",
            "Ljava/lang/String;"
        }
    .end annotation

    .line 1
    const-class v0, Ldgb/f4;

    monitor-enter v0

    .line 2
    :try_start_0
    invoke-static {p1}, Ldgb/f4;->a(Ljava/util/List;)Ljava/util/List;

    .line 3
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    .line 4
    invoke-static {p0}, Ldgb/f4;->a(Landroid/content/Context;)V

    .line 5
    new-instance v2, Ljava/util/HashMap;

    sget-object v3, Ldgb/f4;->a:Ljava/util/Map;

    invoke-direct {v2, v3}, Ljava/util/HashMap;-><init>(Ljava/util/Map;)V

    const-string v3, "ntt"

    .line 6
    invoke-static {p0}, Ldgb/j4;->s(Landroid/content/Context;)Ljava/lang/String;

    move-result-object p0

    invoke-static {v3, p0, v2}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/util/Map;

    .line 7
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p0

    :goto_0
    invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z

    move-result p1

    if-eqz p1, :cond_0

    invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    .line 8
    invoke-interface {v2, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    .line 9
    :cond_0
    invoke-interface {v2}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object p0

    invoke-interface {p0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object p0

    :goto_1
    invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z

    move-result p1

    if-eqz p1, :cond_1

    invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    .line 10
    invoke-interface {v2, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-static {p1, v3, v1}, Ldgb/f4;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/HashMap;)V

    goto :goto_1

    :cond_1
    const-string p0, "UTF-8"

    .line 11
    invoke-static {v1, p0}, Ldgb/m0;->a(Ljava/util/HashMap;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    monitor-exit v0

    return-object p0

    :catchall_0
    move-exception p0

    .line 12
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_3

    :goto_2
    throw p0

    :goto_3
    goto :goto_2
.end method
